#!/bin/bash

grep insercao -A 3 16k.txt | grep \\. | grep user | sed 's/s//g' | cut -d " " -f 5 | cut -d 'm' -f 1 > userM.txt

grep insercao -A 3 16k.txt | grep \\. | grep user | sed 's/s//g' | cut -d " " -f 5 | cut -d 'm' -f 2 > userS.txt


paste userM.txt userS.txt > user.txt

while read linha
do
	echo $linha | awk ' {total = $1*60 + $2} END {print total*1000}'
done < user.txt
